package com.efast.dmom.mgmt.service.les.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.les.TmMmDeliverySheetDao;
import com.efast.dmom.mgmt.entity.les.TmMmDeliverySheet;
import com.efast.dmom.mgmt.service.les.TmMmDeliverySheetService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmMmDeliverySheetServiceImpl implements TmMmDeliverySheetService{
    @Autowired
    private TmMmDeliverySheetDao tmMmDeliverySheetDao;
    @Override
    public long getTmMmDeliverySheetRowCount(Assist assist){
        return tmMmDeliverySheetDao.getTmMmDeliverySheetRowCount(assist);
    }
    @Override
    public List<TmMmDeliverySheet> selectTmMmDeliverySheet(Assist assist){
        return tmMmDeliverySheetDao.selectTmMmDeliverySheet(assist);
    }
    @Override
    public TmMmDeliverySheet selectTmMmDeliverySheetByObj(TmMmDeliverySheet obj){
        return tmMmDeliverySheetDao.selectTmMmDeliverySheetByObj(obj);
    }
    @Override
    public TmMmDeliverySheet selectTmMmDeliverySheetById(Integer id){
        return tmMmDeliverySheetDao.selectTmMmDeliverySheetById(id);
    }
    @Override
    public int insertTmMmDeliverySheet(TmMmDeliverySheet value){
        return tmMmDeliverySheetDao.insertTmMmDeliverySheet(value);
    }
    @Override
    public int insertNonEmptyTmMmDeliverySheet(TmMmDeliverySheet value){
        return tmMmDeliverySheetDao.insertNonEmptyTmMmDeliverySheet(value);
    }
    @Override
    public int insertTmMmDeliverySheetByBatch(List<TmMmDeliverySheet> value){
        return tmMmDeliverySheetDao.insertTmMmDeliverySheetByBatch(value);
    }
    @Override
    public int deleteTmMmDeliverySheetById(Integer id){
        return tmMmDeliverySheetDao.deleteTmMmDeliverySheetById(id);
    }
    @Override
    public int deleteTmMmDeliverySheet(Assist assist){
        return tmMmDeliverySheetDao.deleteTmMmDeliverySheet(assist);
    }
    @Override
    public int updateTmMmDeliverySheetById(TmMmDeliverySheet enti){
        return tmMmDeliverySheetDao.updateTmMmDeliverySheetById(enti);
    }
    @Override
    public int updateTmMmDeliverySheet(TmMmDeliverySheet value, Assist assist){
        return tmMmDeliverySheetDao.updateTmMmDeliverySheet(value,assist);
    }
    @Override
    public int updateNonEmptyTmMmDeliverySheetById(TmMmDeliverySheet enti){
        return tmMmDeliverySheetDao.updateNonEmptyTmMmDeliverySheetById(enti);
    }
    @Override
    public int updateNonEmptyTmMmDeliverySheet(TmMmDeliverySheet value, Assist assist){
        return tmMmDeliverySheetDao.updateNonEmptyTmMmDeliverySheet(value,assist);
    }

    public TmMmDeliverySheetDao getTmMmDeliverySheetDao() {
        return this.tmMmDeliverySheetDao;
    }

    public void setTmMmDeliverySheetDao(TmMmDeliverySheetDao tmMmDeliverySheetDao) {
        this.tmMmDeliverySheetDao = tmMmDeliverySheetDao;
    }

}